<?php
require_once 'Zend/Tbs/Auth/Identity/Generic.php';

require_once 'Zend/Tbs/Resource/Google.php';

class Zend_Tbs_Auth_Identity_Google extends Zend_Tbs_Auth_Identity_Generic
{
   protected $_api;
 
   public function __construct($token)
   {
		$this->_api = new Zend_Tbs_Resource_Google($token);
		$this->_name = 'google';
		$this->_id = $this->_api->getId();
   }
 
	public function getApi()
	{
		return $this->_api;
	}
}
